package com.ptu.spzx.manager.mapper;

import com.ptu.spzx.model.entity.system.SysDept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysDeptMapper {
    int selectCountById(Long id);

    void delete(Long id);

    void update(SysDept sysDept);

    void save(SysDept sysDept);

    List<SysDept> findDeptByUserId(Long userId);

    List<SysDept> selectAll();

}
